<template>
    <ul class="center" >
   <!-- 插入组件 Shop -->
        <Shop v-for="(item,index)  in list " :key="item.id" nd:item="item" :iex="index" :list="list" />
    </ul>
</template>

<script>
import Shop from './Shop.vue';
export default{
    name:"Center",
    props:["list",""],
    components:{
        Shop,
    },
    mounted(){
        //console.log(this.list);
    }
}

</script>

<style>

</style>
